package com.my.number;

import java.util.Arrays;

/**
 * @author: marshal
 * @date: 2022-08-05 10:40
 */
public class WeatherClientTest {

    public static void main(String[] args) {
        testParse();
    }

    public static void testParse() {
        String hexStr = "01033407171a3b000041e88acc41caf73142a20001eb853f5100000000000000000000000014683fcb0000438f2d0d44650000000000004639";
        byte[] bytes = ByteUtil.hexStringToBytes(hexStr);
        System.out.println(Arrays.toString(bytes));
        int length = bytes.length;
        String[] data = new String[length];
        for (int i = 0; i < length; i++) {
            String x = ConvertUtils.byteToHex(bytes[i]);
            data[i] = x;
        }
        System.out.println(Arrays.toString(data));
    }
}
